< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03120302.xhp

(section: lcase) (bookmark: bm_id3152363)
LCase function

LCase 関数

LCase Function [Runtime]
LCase 関数 [実行時](hd_id3152363.1)

Converts all uppercase letters in a string to lowercase.
文字列中のすべての大文字を小文字に変換します。(par_id3145609.2)

(/section: lcase)

See also: UCase Function
次も参照してください:UCase 関数(par_id3154347.3)

Syntax:
構文:(hd_id3149456.4)

LCase (Text As String)
LCase (Text As String)(par_id3150791.5)

Return value:
戻り値:(hd_id3154940.6)

String
文字列(par_id3144760.7)

Parameters:
パラメータ:(hd_id3151043.8)

Text: Any string expression that you want to convert.
Text: 変換する文字列表式。(par_id3153193.9)

(embed text/sbasic/shared/00000003.xhp#errorcode : linkinfo)

Error Codes

エラーコード(hd_id3152869.37)

(/embed text/sbasic/shared/00000003.xhp#errorcode)

(embed text/sbasic/shared/00000003.xhp#err5 : linkinfo)

5 Invalid procedure call
5 無効なプロシージャー呼び出しです (par_id3150891.41)

(/embed text/sbasic/shared/00000003.xhp#err5)

Example:
例:(hd_id3148451.10)

Sub ExampleLUCase
Sub ExampleLUCase(par_id3149203.11)

Dim sVar As String
Dim sVar As String(par_id3150440.12)

sVar = "Las Vegas"
sVar = "Las Vegas"(par_id3153367.13)

Print LCase(sVar) REM Returns "las vegas"
Print LCase(sVar) REM 戻り値は「las vegas」(par_id3146121.14)

Print UCase(sVar) REM Returns "LAS VEGAS"
Print UCase(sVar) REM 戻り値は「LAS VEGAS」(par_id3146986.15)

end Sub
end Sub(par_id3153575.16)


< Prev / Next >